<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul>
    {%for hero in list%}
    <li>{{hero.hname}}</li>
    {%endfor%}
</ul>
</body>
</html>